// 定义注册相关的接口
import instance from '@/http/request'

// 验证手机号码是否被注册过
export function userlogin(data: { loginname: string, password: string }) {
    return instance({
        url: `/user/login`,
        method: 'post',
        data
    })
}